package com.hopscotch.utils;

import lombok.Data;

@Data
public class R {
    private Integer code;
    private String message;
    private Object data;
    public static R ok(Object data) {
        R r = new R();
        r.setCode(200);
        r.setData(data);
        return r;
    }
}
